package com.my.service;

public class MyCmd {
	//
	public static final int SOURCE_NONE = 0xff;
	public static final int SOURCE_RADIO = 0x0;
	public static final int SOURCE_DVD = 0x1;
	public static final int SOURCE_ATV = 0x3;
	public static final int SOURCE_AUX = 0x5;
	public static final int SOURCE_DTV = 0x6;
	public static final int SOURCE_MX51 = 0x7;
	public static final int SOURCE_IPOD = 0x9;
	public static final int SOURCE_REVERSE = 0xb;
	public static final int SOURCE_AUX_FRONT = 0xc;
	public static final int SOURCE_BT = 0xd;
	public static final int SOURCE_AV_OFF = 0x10;			//only navigation and phone volume on.
	public static final int SOURCE_CANBOX_IPOD = 0x12;
	
	
	public static final int SOURCE_MUSIC = 0x82;
	public static final int SOURCE_VIDEO = 0x83;
	public static final int SOURCE_GPS = 0x84;
	public static final int SOURCE_PHONE = 0x85;
	public static final int SOURCE_SETTINGS = 0x86;
	public static final int SOURCE_VIDEO_FILEMANAGE = 0x87;
	public static final int SOURCE_MUSIC_FILEMANAGE = 0x88;
	
	public static final int SOURCE_FIRST_RUN_FLAG = 0x1000;
	public static final int SOURCE_CLEAR_RUN_FLAG = 0x2000;
	public static final int SOURCE_CLEAR_SCAN_FLAG = 0x4000;
	
	//
	public static final int CALLBACK_COMMON_KEY_BAUD = 0x1;
	public static final int CALLBACK_COMMON_KEY_PLAYPAUSE = 0x2;
	public static final int CALLBACK_COMMON_KEY_NEXT = 0x3;
	public static final int CALLBACK_COMMON_KEY_PREVIOUS = 0x4;
	
	public static final int CALLBACK_COMMON_KEY_AS = 0x5;
	public static final int CALLBACK_COMMON_KEY_NUM1 = 0x6;
	public static final int CALLBACK_COMMON_KEY_NUM2 = 0x7;
	public static final int CALLBACK_COMMON_KEY_NUM3 = 0x8;
	public static final int CALLBACK_COMMON_KEY_NUM4 = 0x9;
	public static final int CALLBACK_COMMON_KEY_NUM5 = 0xa;
	public static final int CALLBACK_COMMON_KEY_NUM6 = 0xb;
	
	public static final int CALLBACK_COMMON_KEY_LONG_NUM1 = 0x106;
	public static final int CALLBACK_COMMON_KEY_LONG_NUM2 = 0x107;
	public static final int CALLBACK_COMMON_KEY_LONG_NUM3 = 0x108;
	public static final int CALLBACK_COMMON_KEY_LONG_NUM4 = 0x109;
	public static final int CALLBACK_COMMON_KEY_LONG_NUM5 = 0x10a;
	public static final int CALLBACK_COMMON_KEY_LONG_NUM6 = 0x10b;
	
	public static final int CALLBACK_COMMON_ATV_DISCONNECT = 0x0f;
	public static final int CALLBACK_COMMON_DTV_DISCONNECT = 0x10;
	public static final int CALLBACK_COMMON_AUX_DISCONNECT = 0x11;
	public static final int CALLBACK_COMMON_CAMERA_DISCONNECT = 0x12;
	
	public static final int CALLBACK_COMMON_APP_SAVE_PLAYSTATUS = 0x20;
	public static final int CALLBACK_COMMON_APP_RESET_PLAYSTATUS = 0x21;
	public static final int CALLBACK_COMMON_VIDEO_SAVE_PLAYSTATUS = 0x23;
	public static final int CALLBACK_COMMON_VIDEO_RESET_PLAYSTATUS = 0x24;
	
	public static final int CALLBACK_COMMON_MEDIA_SCANNING = 0x22;
	public static final int CALLBACK_COMMON_MEDIA_SCAN_FINISH = 0x23;
	
	public static final int CALLBACK_COMMON_SOURCE_SET_TO_IPOD = 0x30;
	public static final int CALLBACK_COMMON_SOURCE_SET_TO_NOT_IPHONE = 0x31;
	
	
	public static final int CALLBACK_COMMON_SYSTEM_POWER_OFF = 0xA0;
	public static final int CALLBACK_COMMON_SERVICE_BIND_FINISH = 0xAf;	
	//
	//0xb0 ~ 0xff is reverse for customer use
	//
	
	//
	public static final int PLAYSTATUS_PLAY = 0x1;
	public static final int PLAYSTATUS_PAUSE = 0x2;
	public static final int PLAYSTATUS_STOP = 0x3;
	public static final int PLAYSTATUS_CONNECTED = 0x10;
	public static final int PLAYSTATUS_DISCONNECT = 0x11;
	public static final int PLAYSTATUS_KEY_BACK = 0x12;
	
	public static final int PLAYSTATUS_DESTROY = 0x80;
	public static final int PLAYSTATUS_BRAKE_DECT_OFF = 0x90;
	public static final int PLAYSTATUS_BRAKE_DECT_LEVEL = 0x91;
	public static final int PLAYSTATUS_BRAKE_DECT_PULSE = 0x92;	
	
	public static final int PLAYSTATUS_CHECK_VIDEO_CONNECT_STATUS = 0x95;	
	
	public static final int PLAYSTATUS_BT_INCOMING_CALL = 0xA0;
	
	public static final int PLAYSTATUS_IPOD_CONNECT_IPHONE = 0xB0;
	public static final int PLAYSTATUS_SHOW_DVD_VERSION = 0xB1;
	public static final int PLAYSTATUS_IPOD_CONNECT_NOT_IPHONE = 0xB2;	
	
	public static final int PLAYSTATUS_RADIO_SET_UIMODE = 0xC0;	

	
	
	//
	public static final int BTSTATUS_PHONE_ON = 0x1;
	public static final int BTSTATUS_PHONE_OFF = 0x2;
	
	public static final int CANBOX_BT_STATUS_PHONE_END = 0x0;
	public static final int CANBOX_BT_STATUS_PHONE_COME = 0x1;
	public static final int CANBOX_BT_STATUS_PHONE_CALL = 0x2;
	public static final int CANBOX_BT_STATUS_PHONE_ANSWERING = 0x3;
	//
	public static final int CAMERA_DVD = 0x0;
	public static final int CAMERA_TV = 0x1;
	public static final int CAMERA_AUX = 0x2;
	
	//
	public static final int BRAKE_CAR_STATUS_OFF = 0x0;
	public static final int BRAKE_CAR_STATUS_ON = 0x1;
	//
	public static final int CALLBACK_BT_DIAL = 0x1;
	public static final int CALLBACK_BT_INCOMIMG = 0x2;
	public static final int CALLBACK_BT_ANSWER = 0x4;
	public static final int CALLBACK_BT_HANG_UP = 0x5;
	public static final int CALLBACK_BT_FOREGROUND = 0x6;
	public static final int CALLBACK_BT_BACKGROUND = 0x7;
	public static final int CALLBACK_BT_SAVE_PLAY_STATUS = 0x8;
	public static final int CALLBACK_BT_RESET_PLAY_STATUS = 0x9;
	public static final int CALLBACK_BT_KEY_NEXT = 0xA;
	public static final int CALLBACK_BT_KEY_PREVIOUS = 0xB;
	public static final int CALLBACK_BT_KEY_PLAYPAUSE = 0xC;
	//
	public static final int GET_STR_DVD_VERSION = 0xC;
	
	//
	public static final String ACTION_BRAKE_CAR_OFF = "com.my.service.BRAKE_CAR_OFF";
	public static final String ACTION_BRAKE_CAR_ON = "com.my.service.BRAKE_CAR_ON";	
	
	///key to broadcast intent
	public static final String BROADCAST_KEY_COMMON_ = "";
	public static final String BROADCAST_KEY_DVD_EJECT = "com.my.key.dvd.EJECT";
	public static final String BROADCAST_KEY_DVD_NEXT = "com.my.key.dvd.NEXT";
	public static final String BROADCAST_KEY_DVD_PREV = "com.my.key.dvd.PREV";
	public static final String BROADCAST_KEY_DVD_PP = "com.my.key.dvd.PP";
	
}
